package com.ruoyi.internship.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 职位申请记录对象 bole_postion_application
 * 
 * @author ruoyi
 * @date 2025-03-29
 */
public class BolePostionApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请ID */
    private String applicationId;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private String userId;

    /** 职位ID */
    @Excel(name = "职位ID")
    private String positionId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 申请状态（0待审核，1通过，2拒绝） */
    @Excel(name = "申请状态", readConverterExp = "0=待审核，1通过，2拒绝")
    private Long status;

    public void setApplicationId(String applicationId) 
    {
        this.applicationId = applicationId;
    }

    public String getApplicationId() 
    {
        return applicationId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setPositionId(String positionId) 
    {
        this.positionId = positionId;
    }

    public String getPositionId() 
    {
        return positionId;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applicationId", getApplicationId())
            .append("userId", getUserId())
            .append("positionId", getPositionId())
            .append("applyTime", getApplyTime())
            .append("status", getStatus())
            .toString();
    }
}
